package com.ruoyi.tel.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电话号码信息对象 tel_info
 * 
 * @author dgjunjie
 * @date 2021-04-10
 */
public class TelInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 号码自动编号 */
    private Long telId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String tel;

    /** 收集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "收集时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date getTime;

    public void setTelId(Long telId) 
    {
        this.telId = telId;
    }

    public Long getTelId() 
    {
        return telId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setGetTime(Date getTime) 
    {
        this.getTime = getTime;
    }

    public Date getGetTime() 
    {
        return getTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("telId", getTelId())
            .append("name", getName())
            .append("tel", getTel())
            .append("getTime", getGetTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
